//
//  ArrowButton.h
//  CedarFinancePH
//
//  Created by lshenrong on 2018/4/16.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ArrowButton;

typedef NS_ENUM(NSInteger, ArrowStatus){
    ArrowStatusNormal = 0,//默认，无选中
    ArrowStatusUp = 1, //箭头向上
    ArrowStatusDown = 2 //箭头向下
};

typedef void(^ArrowStatusBlock)(ArrowButton *button);


@interface ArrowButton : UIButton

@property (nonatomic,copy) ArrowStatusBlock arrowStatusBlock;

@property (nonatomic,assign) ArrowStatus arrowStatus;

+ (instancetype)buttonWithTitle:(NSString *)title;
+ (instancetype)buttonWithTitle:(NSString *)title hideArrow:(BOOL)hide;

- (void)changeButtonStatus;

@end
